from django.shortcuts import render
from .serializers import InfoSerializer
from .models import Info
from rest_framework import viewsets, mixins


# Create your views here.
class InfoViews(viewsets.ModelViewSet):
    serializer_class = InfoSerializer

    def get_queryset(self):
        return Info.objects.all()
